package cn.yiyuan.auth.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @user m
 * @project Car_mall_system
 * @date 2023-12-26
 * @package cn.yiyuan.auth.entity
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DepEntity {

    /**
     * id
     */
       private Long id;

    /**
     *
     */
       private String sn;

    /**
     *
     */
       private String name;

    /**
     *
     */
       private String path;

    /**
     *
     */
       private int state;

    /**
     *
     */
       private EmpEntity managerId;

    /**
     *
     */
       private DepEntity parentId;

    /**
     *
     */
       private Long shopId;

       private EmpEntity empEntity;

       private List<DepEntity> children;


}
